package com.imooc.dianping.service;

import com.imooc.dianping.common.BusinessException;
import com.imooc.dianping.model.SellerModel;

import java.util.List;

/**
 * 商户查询
 * @author LiJian
 * @date 2021/7/14
 */
public interface SellerService {
    SellerModel create(SellerModel sellerModel);
    SellerModel get(Integer id);
    List<SellerModel> selectAll();
    SellerModel changeStatus(Integer id,Integer disableFlag) throws BusinessException;

    Integer countAllSeller();
}
